judge ruled that denying sex reassignment surgery to michelle-lael norsworthy violates her constitutional rights .
the inmate 's birth name is jeffrey bryan norsworthy .
surgery could cost taxpayers up to $ 100,000 and is the first time such an operation has been ordered in california .
norsworthy has been in prison since 1987 , serving a life sentence for second-degree murder .